package com.yyh.rmi;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class RMIClient {
	
	public static void main(String[] args) {  
        //ApplicationContext content = new FileSystemXmlApplicationContext("src/conf/biz/spring/spring-client.xml");
        ApplicationContext content = new ClassPathXmlApplicationContext("conf/biz/spring/spring-client.xml");
        IHello iHello = (IHello)content.getBean("serviceClient");  
        System.out.println(iHello.hello("yuanhuyao"));  
    }  
}
